﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UnlockMatch.aspx.cs" Inherits="Customer_Profile.eCard.Match.UnlockMatch" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="1">
            <tr>
                <td>
                    <dx:ASPxGridView ID="gridUnlockMatch" runat="server" KeyFieldName="accounting_key"
                        CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                        CssPostfix="Office2003Blue">
                        <Images SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2003Blue/GridView/gvLoadingOnStatusBar.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2003Blue/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2003Blue/Editors/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <Styles CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                            CssPostfix="Office2003Blue">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="10px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors>
                            <ProgressBar Height="25px">
                            </ProgressBar>
                        </StylesEditors>
                        <Columns>
                                <dx:GridViewDataColumn FieldName="seq_no" VisibleIndex="0" />            
                                <dx:GridViewDataColumn FieldName="accounting_key" VisibleIndex="1" />            
                                <dx:GridViewDataColumn FieldName="business_date" VisibleIndex="2" />                        
                                <dx:GridViewDataColumn FieldName="cparty_bankname" VisibleIndex="3" /> 
                                <dx:GridViewDataColumn FieldName="cparty_accountname" VisibleIndex="4" />            
                                <dx:GridViewDataColumn FieldName="cparty_accountno" VisibleIndex="5" />            
                                <dx:GridViewDataColumn FieldName="crebit_amount" VisibleIndex="6" />            
                                <dx:GridViewDataColumn FieldName="match_balance" VisibleIndex="7" />            
                                <dx:GridViewDataColumn FieldName="remark" VisibleIndex="8" />            
                        </Columns>
                        <Templates>
                             <DetailRow>                    
                                    <%-- Contact Phone: <b><%# Eval("Phone")%></b>, Fax: <b><%# Eval("Fax")%></b>
                                     <br /><br />--%>
                                     <dx:ASPxGridView ID="detailGrid" runat="server"  KeyFieldName="transfer_id" Width="100%">
                                        <Columns>
                                            <dx:GridViewDataColumn FieldName="transfer_id" Caption="" VisibleIndex="1" />
                                            <dx:GridViewDataColumn FieldName="card_no" Caption="" VisibleIndex="2" />                            
                                            <dx:GridViewDataColumn FieldName="deal_no" Caption="" VisibleIndex="3" />
                                            <dx:GridViewDataColumn FieldName="bank_name" Caption="" VisibleIndex="4" />
                                            <dx:GridViewDataColumn FieldName="account_name" Caption="" VisibleIndex="5" />                            
                                            <dx:GridViewDataColumn FieldName="account_no" Caption="" VisibleIndex="6" />
                                            <dx:GridViewDataColumn FieldName="transfer_amount" Caption="" VisibleIndex="7" />
                                            <dx:GridViewDataColumn FieldName="remark" Caption="" VisibleIndex="8" />
                                        </Columns>
                                         <Settings ShowFooter="True" />
                                         <TotalSummary>
                                             <dx:ASPxSummaryItem FieldName="transfer_amount" SummaryType="Sum" />
                                         </TotalSummary>
                                         <SettingsDetail IsDetailGrid="true"/>
                                     </dx:ASPxGridView>
                             </DetailRow>
                         </Templates>
                         <SettingsDetail ShowDetailRow="true"/>   
                    </dx:ASPxGridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>